package com.dc.system.model;

import java.io.Serializable;
import java.util.Date;

public class SysOrgan implements Serializable {
    /**
     *
     */
    private int organ_id;

	/**
	 * 单位名字
	 */
	private String name;

	/**
	 * 上级单位id
	 */
	private int fk_parent_id;

	/**
	 * 联系人
	 */
	private String contact;

	/**
	 * 联系人电话
	 */
	private String contact_phone;

	/**
	 * 员工数量
	 */
	private int staff_num;

	/**
	 * 地址
	 */
	private String address;

	/**
	 * 单位性质
	 */
	private String nature;

	/**
	 * 座机
	 */
	private String telephone;

	/**
	 * 传真
	 */
	private String fax;

	/**
	 * 备注
	 */
	private String memo;

	/**
	 * 排序
	 */
	private int order_code;

	/**
	 *
	 */
	private int create_user_id;

    /**
     *
     */
    private String create_user_name;

    /**
     *
     */
    private Date create_time;

    /**
     *
     */
    private int update_user_id;

    /**
     *
     */
    private String update_user_name;

    /**
     *
     */
    private Date update_time;

	/**
	 * 0删除1存在
	 */
	private int is_deleted;

	/**
	 * 版本号
	 */
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}


	/**
     */
    private static final long serialVersionUID = 1L;

    
    public int getOrgan_id() {
		return organ_id;
	}

	public void setOrgan_id(int organ_id) {
		this.organ_id = organ_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getFk_parent_id() {
		return fk_parent_id;
	}

	public void setFk_parent_id(int fk_parent_id) {
		this.fk_parent_id = fk_parent_id;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getContact_phone() {
		return contact_phone;
	}

	public void setContact_phone(String contact_phone) {
		this.contact_phone = contact_phone;
	}

	public int getStaff_num() {
		return staff_num;
	}

	public void setStaff_num(int staff_num) {
		this.staff_num = staff_num;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getNature() {
		return nature;
	}

	public void setNature(String nature) {
		this.nature = nature;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public int getOrder_code() {
		return order_code;
	}

	public void setOrder_code(int order_code) {
		this.order_code = order_code;
	}

	public int getCreate_user_id() {
		return create_user_id;
	}

	public void setCreate_user_id(int create_user_id) {
		this.create_user_id = create_user_id;
	}

	public String getCreate_user_name() {
		return create_user_name;
	}

	public void setCreate_user_name(String create_user_name) {
		this.create_user_name = create_user_name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public int getUpdate_user_id() {
		return update_user_id;
	}

	public void setUpdate_user_id(int update_user_id) {
		this.update_user_id = update_user_id;
	}

	public String getUpdate_user_name() {
		return update_user_name;
	}

	public void setUpdate_user_name(String update_user_name) {
		this.update_user_name = update_user_name;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public int getIs_deleted() {
		return is_deleted;
	}

	public void setIs_deleted(int is_deleted) {
		this.is_deleted = is_deleted;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", organ_id=").append(organ_id);
        sb.append(", name=").append(name);
        sb.append(", fk_parent_id=").append(fk_parent_id);
        sb.append(", contact=").append(contact);
        sb.append(", contact_phone=").append(contact_phone);
        sb.append(", staff_num=").append(staff_num);
        sb.append(", address=").append(address);
        sb.append(", nature=").append(nature);
        sb.append(", telephone=").append(telephone);
        sb.append(", fax=").append(fax);
        sb.append(", memo=").append(memo);
        sb.append(", order_code=").append(order_code);
        sb.append(", create_user_id=").append(create_user_id);
        sb.append(", create_user_name=").append(create_user_name);
        sb.append(", create_time=").append(create_time);
        sb.append(", update_user_id=").append(update_user_id);
        sb.append(", update_user_name=").append(update_user_name);
        sb.append(", update_time=").append(update_time);
        sb.append(", is_deleted=").append(is_deleted);
        sb.append("]");
        return sb.toString();
    }

  
}